package com.fulihui.usercore.request.auth;

import lombok.Getter;
import lombok.Setter;

/**
 * 微信授权登陆注册请求
 *
 * @author Willard.Hu on 2016/11/3 0003.
 */
@Getter
@Setter
public class WechatAuthRequest extends QuickAuthRequest {
    private static final long serialVersionUID = -8533006326061507930L;

    /**
     * 微信号用户唯一标识
     */
    private String openid;
    /**
     * 微信平台类型
     *
     * @see com.fulihui.usercore.enums.WechatOpenIdTypeEnum
     */
    private String openidType;
    /**
     * 微信平台标识
     */
    private String appid;
    /**
     * 同一平台用户唯一标识
     */
    private String unionid;
    /**
     * 微信昵称
     */
    private String nickname;
    /**
     * 微信头像
     */
    private String headImg;
    /**
     * 是否关注
     */
    private int    subscribe;
    /**
     * 关注时间
     */
    private long   subscribeTime;
    /**
     * 性别
     */
    private int    sex;

    private String wxCountry;
    private String wxProvince;
    private String wxCity;

}
